﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Xml;
using System.Text;
using System.IO;
using System.Net;

namespace Extractor.LibCode
{
    public static class cXML
    {
        static XmlDocument xml_doc;

        private static XmlElement getElement(string elementname)
        {
            return null;

        }

        public static void tesXML(string sxml)
        {
             //new XmlTextReader().ReadContentAs(
            WebClient client = new WebClient();
            
            String htmlCode = client.DownloadString("http://www.scoresway.com/?sport=soccer&page=team&id=662");

            if (htmlCode != null)
            {
                string sdata = "<book xmlns:bk='urn:samples'></book>";
                xml_doc = new XmlDocument();
                xml_doc.Load(new StringReader(htmlCode));
            }
           
            


        }



        
    }
}
